package com.zlm.common.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.zlm.common.base.BaseEntity;

import java.util.Date;

/**
 * 班制规则表
 * @Author: duyufu
 * @Date: 2019/5/27 11:43
 */
public class OrgWorkTimeRulesDO extends BaseEntity {
    private static final long serialVersionUID = 8825269590807858685L;

    private Integer workTimeRuleId;

    private Integer workTimeId;

    private Integer entryId;
    @JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
    private Date createTime;

    private Integer createUser;
    @JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
    private Date lastModifyTime;

    private Integer lastModifyUser;

    private Integer alive;

    public Integer getWorkTimeRuleId() {
        return workTimeRuleId;
    }

    public void setWorkTimeRuleId(Integer workTimeRuleId) {
        this.workTimeRuleId = workTimeRuleId;
    }

    public Integer getWorkTimeId() {
        return workTimeId;
    }

    public void setWorkTimeId(Integer workTimeId) {
        this.workTimeId = workTimeId;
    }

    public Integer getEntryId() {
        return entryId;
    }

    public void setEntryId(Integer entryId) {
        this.entryId = entryId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getCreateUser() {
        return createUser;
    }

    public void setCreateUser(Integer createUser) {
        this.createUser = createUser;
    }

    public Date getLastModifyTime() {
        return lastModifyTime;
    }

    public void setLastModifyTime(Date lastModifyTime) {
        this.lastModifyTime = lastModifyTime;
    }

    public Integer getLastModifyUser() {
        return lastModifyUser;
    }

    public void setLastModifyUser(Integer lastModifyUser) {
        this.lastModifyUser = lastModifyUser;
    }

    public Integer getAlive() {
        return alive;
    }

    public void setAlive(Integer alive) {
        this.alive = alive;
    }

    @Override
    public String toString() {
        return "OrgWorkTimeRulesDO{" +
                "workTimeRuleId=" + workTimeRuleId +
                ", workTimeId=" + workTimeId +
                ", entryId=" + entryId +
                ", createTime=" + createTime +
                ", createUser=" + createUser +
                ", lastModifyTime=" + lastModifyTime +
                ", lastModifyUser=" + lastModifyUser +
                ", alive=" + alive +
                '}';
    }
}
